<template>
  <div id="app">
    <keep-alive :include="include" :exclude="exclude">
      <router-view />
    </keep-alive>
  </div>
</template>
<script>
export default {
  data() {
    return {
      include: [], //include 需要缓存的路由列表
      exclude: [], //exclude 不需要缓存的路由列表
    };
  },
  mounted() {},
  methods: {},
};
</script>
